package com.pan.entity;

public class JavaSqlType {
    Class javaType;

    /**
     * 这应该是包含约束类型的字符串
     * 如：
     * varchar(20) not null
     * 如：
     * int primary key
     */
    String sqlType;

    public JavaSqlType(Class javaType, String sqlType) {
        this.javaType = javaType;
        this.sqlType = sqlType;
    }

    public JavaSqlType() {
    }

    public Class getJavaType() {
        return javaType;
    }

    public void setJavaType(Class javaType) {
        this.javaType = javaType;
    }

    public String getSqlType() {
        return sqlType;
    }

    public void setSqlType(String sqlType) {
        this.sqlType = sqlType;
    }

}
